package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.DevicesUsed;
import net.mikoo.seals.model.DevicesUsedCert;
import net.mikoo.seals.model.DevicesUsedQuery;

@MapperScan
public interface DevicesUsedMapper {
	
	Integer insert(DevicesUsed devicesUsed);
	
	Integer update(DevicesUsed devicesUsed);
	
	DevicesUsed selectInfoById(Long devicesUsedId);
	
	List<DevicesUsed> selectPageByQuery(DevicesUsedQuery query);
	
	Integer countPageByQuery(DevicesUsedQuery query);
	
	DevicesUsed selectInfoByQuery(DevicesUsedQuery query);
	
	Integer delete(Long devicesUsedId);
	
	List<DevicesUsed> selectListByQuery(DevicesUsedQuery query);

	List<DevicesUsedCert> selectCertsByQuery(DevicesUsedQuery query);

	List<DevicesUsedCert> selectCertsByDevicesActId(Long devicesActId);
	
}